NetSimple Client Server example of how to manage packet boundaries. 

This can be a little bit confusing at first, so that's why we made the NetTalk objects that do all this for you. 
See FAQ G2 (in the NetTalk docs) for more information about Packet Boundaries.